﻿<Page x:Class="Nomad.WebSync.Windows.Pages.ContactDetail"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Width="354" Height="424" FontSize="14" Background="Gainsboro">
    <TabControl TabStripPlacement="Bottom">
        <TabItem Header="Resume" IsSelected="True">
            <DockPanel Background="White">
                <StackPanel DockPanel.Dock="Top">
                    <Label Name="fullNameLabel" FontWeight="Bold"/>
                    <Label Name="jobTileLabel"/>
                    <Label Name="departmentLabel"/>
                    <Label Name="companyLabel"/>
                    <Separator Margin="0,5"/>
                </StackPanel>    
                
                <ListBox BorderThickness="0" BorderBrush="White" Name="fieldList" Margin="0" IsHitTestVisible="True" Focusable="False" IsTextSearchEnabled="False">
                    <ListBox.ItemTemplate>
                        <DataTemplate>
                            <Grid>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="220"/>
                                    <ColumnDefinition Width="100"/>
                                </Grid.ColumnDefinitions>

                                <TextBlock Grid.Column="0" Text="{Binding Value}" TextTrimming="CharacterEllipsis" Margin="0,5"/>
                                <TextBlock Grid.Column="1" Text="{Binding Key}" TextAlignment="Right" TextTrimming="CharacterEllipsis" Margin="5"/>
                            </Grid>
                        </DataTemplate>
                    </ListBox.ItemTemplate>
                </ListBox>
            </DockPanel>
        </TabItem>
        <TabItem Header="Notes" IsSelected="True">
            <DockPanel>
                <TextBlock Name="bodyTextBlock" Background="White" />
            </DockPanel>
        </TabItem>
    </TabControl>
</Page>
